package cn.appinfo.service.impl;

import cn.appinfo.dao.BackendUserDao;
import cn.appinfo.pojo.BackendUser;
import cn.appinfo.service.BackendUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class BackendUserServiceImpl implements BackendUserService {

    @Resource
    private BackendUserDao backendUserDao;

    @Override
    public BackendUser login(String userCode, String userPassWord) {
        return backendUserDao.login(userCode,userPassWord);
    }
}
